// 应用程序异常类

function AppError(code,msg){
　　this.name="AppError"
	this.code = code 
　　this.message = msg
}

AppError.prototype = Object.create(Error.prototype)
AppError.prototype.constructor = AppError

module.exports = AppError